package com.mobile.collect.net;

import cn.droidlover.xdroidmvp.net.XApi;

public class Api {
    private static ApiService apiService;
    private static ApiService apiService2;
//    public static String BASE = "http://szhj.fast.im/api/";
    public static String BASE = "http://jiance.pjszhj.com:8888";

    public static ApiService getApiService() {
        if (apiService == null) {
            synchronized (Api.class) {
                if (apiService == null) {
                    apiService = XApi.getInstance().getRetrofit(BASE, true).create(ApiService.class);
                }
            }
        }
        return apiService;
    }
}